//
//  HTTPClient+SearchSug.h
//  CLBrowser
//
//  Created by 梁慧聪 on 2016/11/14.
//  Copyright © 2021年 梁慧聪. All rights reserved.
//

#import "CLHTTPClient.h"
#import "CLSearchBook.h"
@interface CLHTTPClient (SearchSug)

- (NSURLSessionDataTask *)getSugWithKeyword:(NSString *)keyword success:(CLSuccessBlock)success fail:(CLFailureBlock)fail;

- (NSURLSessionDataTask *)searchBookWithKeyword:(NSString *)keyword success:(void (^)(NSArray <CLSearchBook *> *books))success fail:(void(^)(NSError *error))fail;
@end
